package designpatterns.factory.abstrct;

import designpatterns.factory.product.Product;
import designpatterns.factory.product.Product1;
import designpatterns.factory.product.Product2;

public class Factory1 implements Factory {
    @Override
    public Product createProduct1() {
        return new Product1();
    }

    @Override
    public Product createProduct2() {
        return new Product2();
    }
}
